<template>
	<view>
		<view class="top">
			<u-navbar :title="title" :autoBack="true" :bgColor="bgColor" />
		</view>

	</view>
</template>

<script>
	export default {
		props: {
			title: {
				type: String,
				default: "无标题"
			},
			bgColor: {
				type: String,
				default: "white"
			}
		},
		name: "Header",
		data() {
			return {

			};
		}
	}
</script>

<style>
	.top {
		width: 100%;
		margin: 0;
		padding: 0;
	}
</style>